<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
		<title>FPKExtension Document</title>
		<meta id="xcode-display" name="xcode-display" content="render"/>
		<meta name="viewport" content="width=550" />
		<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
		<link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />	
		<meta name="generator" content="appledoc 2.0.5 (build 748)" />
	</head>
	<body>
		<header id="top_header">
			<div id="library" class="hideInXcode">
				<h1><a id="libraryTitle" href="../index.html">FastPdfKit Extensions </a></h1>
				<a id="developerHome" href="../index.html">MobFarm</a>
			</div>
			
			<div id="title" role="banner">
				<h1 class="hideInXcode" id="pageTitleHeader">FPKExtension Document</h1>
			</div>
			<ul id="headerButtons" role="toolbar"></ul>
		</header>
		<article>
			<a title="FPKExtension Document" name="top"></a>
			<div id="overview_contents" role="main">
				<div id="container">	
					<h1>Create a new FastPdfKit Extension</h1>

<p>Empty project to create your own FastPdfKit Extension.</p>

<h2>Get Started</h2>

<p>The first steps needed are to change the Extension name to the chosen one:</p>

<ul>
<li>Create a copy of the <strong><a href="FPKExtension.html">FPKExtension</a></strong> folder;</li>
<li>Open the <strong><a href="FPKExtension.html">FPKExtension</a></strong> project in Xcode;</li>
<li><p>Rename the project to your extension name;</p>

<p>  <img src="../docs/rename-project.png" /></p></li>
<li><p>Rename the <strong>ExtensionName</strong> <strong>.h/.m</strong> documents;</p></li>
<li>Replace the placeholders <code>ExtensionName</code> with the extension name;</li>
</ul>


<p>Define the <strong>prefix</strong> that your Extension support:</p>

<ul>
<li>Replace the placeholders <code>prefix</code> with the supported prefix(es) like <code>http</code>;</li>
</ul>


<p>Start writing your code:</p>

<ul>
<li>Add your code from line 20 on the <strong>.m</strong> file.</li>
</ul>


<h2>Build</h2>

<p><strong>Warning:</strong> always perform a <em>Clean</em> action before building. The fastest way is to press <strong>⌘+⇧+K</strong> (to clean) and then <strong>⌘+B</strong> (to build). This is an issue when compiling <a href="https://github.com/kstenerud/iOS-Universal-Framework/">fake frameworks</a>.</p>

<p>When you build the target, a new <strong>.embeddedframework</strong> folder will be created in the root folder.</p>

<p>To use the just created Extension just drag that folder to the Navigation bar of the <strong>SampleProject</strong> or in your own app and follow the <a href="./README.html">Readme</a> for the Extension usage.</p>
				</div>
				<div id="footer">
					<hr />
					<div class="footer-copyright">
						<p><span class="copyright">&copy; 2012 MobFarm. All rights reserved. (Last updated: 2012-01-04)</span><br />
						
						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 748)</a>.</span></p>
						
					
					</div>
				</div>
			</div>
		</article>
	</body>
</html>